package com.yanqu.road.entity.log.daomu;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;

@FieldTypeAnnotation(tableName = "t_l_activity_daomu_log_touch_gold", autoSave = true, dataUpload = true, eventName = "tougold_box", uploadCk = true, desc = "盗墓-开宝箱进度")
public class LogDaoMuTouchGold extends ServerBaseLog {

    /**
     * 活动ID
     */
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true, dataAttribute = "activityid")
    private int activityId;
    
    /**
     * 玩家ID
     */
    @FieldTypeAnnotation(desc = "玩家ID", isIndex = true)
    private long userId;
    
    /**
     * 宝箱ID
     */
    @FieldTypeAnnotation(desc = "宝箱ID", dataAttribute = "item_id")
    private int boxId;
    
    /**
     * 开启数量
     */
    @FieldTypeAnnotation(desc = "开启数量", dataAttribute = "cost_num")
    private long num;
    
    /**
     * 背包道具
     */
    @FieldTypeAnnotation(desc = "背包道具", dataAttribute = "item_get")
    private String reward;
    
    /**
     * 活动道具
     */
    @FieldTypeAnnotation(desc = "活动道具")
    private String activityReward;
    
    /**
     * 获得的藏品分
     */
    @FieldTypeAnnotation(desc = "获得的藏品分")
    private long collectionScore;
    
    /**
     * 总藏品分
     */
    @FieldTypeAnnotation(desc = "总藏品分", dataAttribute = "get_accnum")
    private long allCollectionScore;
    
    /**
     * 增加宝箱的进度
     */
    @FieldTypeAnnotation(desc = "增加宝箱的进度", dataAttribute = "other_add")
    private int addProgress;
    
    /**
     * 宝箱总进度
     */
    @FieldTypeAnnotation(desc = "宝箱总进度", dataAttribute = "change_type")
    private int boxProgress;

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getUserId() {
        return userId;
    }

    public void setBoxId(int boxId) {
        this.boxId = boxId;
    }

    public int getBoxId() {
        return boxId;
    }

    public void setNum(long num) {
        this.num = num;
    }

    public long getNum() {
        return num;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public String getActivityReward() {
        return activityReward;
    }

    public void setActivityReward(String activityReward) {
        this.activityReward = activityReward;
    }

    public void setCollectionScore(long collectionScore) {
        this.collectionScore = collectionScore;
    }

    public long getCollectionScore() {
        return collectionScore;
    }

    public void setAllCollectionScore(long allCollectionScore) {
        this.allCollectionScore = allCollectionScore;
    }

    public long getAllCollectionScore() {
        return allCollectionScore;
    }

    public void setAddProgress(int addProgress) {
        this.addProgress = addProgress;
    }

    public int getAddProgress() {
        return addProgress;
    }

    public void setBoxProgress(int boxProgress) {
        this.boxProgress = boxProgress;
    }

    public int getBoxProgress() {
        return boxProgress;
    }
}
